package com.tianbing.adlottery.global;

public class IConstants {

	public enum RelationID {
		// User relations ------------------------------------------------
		U2S_IS_OWNER_OF(1000, "user is owner of store "), // ----------------------------------------------------
		U2S_IS_FAVORITER_OF(1002, "user is favorite of store or company"), U2S_IS_PRODUCT_REQUESTER_OF(1003,
				"user is requester of coupon to the company, 用户请求供应商提供产品资料"), // -------------------------------------------------
		U2S_IS_HOMER_OF(1004, "用户的住家小区"), // -------------------------------------------------
		U2S_IS_SERVANT_OF(1005, "用户是店铺的服务专员"), // -------------------------------------------------

		// -----------------------------------------------------------------------------------
		U2C_IS_FAVORITER_OF(1100, "user is favoriter of coupon"), // -------------------------------------------------
		U2C_IS_SELLER_OF(1101, "user is seller of coupon"), // -------------------------------------------------
		U2C_IS_POSTER_OF(1102, "user is poster of message coupon"), // -------------------------------------------------
		U2C_IS_FLOATER_OF(1103, "user is float owner of book coupon"), // -------------------------------------------------
		U2C_IS_SERVANT_OF(1104, "用户是內容的服务专员"), // -------------------------------------------------

		// -----------------------------------------------------------------------
		U2U_IS_FRIEND_OF(1200, "user is friend of user"), // -------------------------------------------------
		U2U_IS_RECOMMENDER_OF(1201, "用户是另一用户的推荐人"), // -------------------------------------------------
		// ------------------------------------------------------------------------------------
		U2G_IS_MEMBER_OF(1300, "user is member of category"), // -------------------------------------------------
		// ----site relation----------------------------------------------
		S2C_IS_SELLER_OF(2000, "site is seller of coupon"), // -------------------------------------------------
		S2C_IS_SUPPLIER_OF(2001, "site is supplier of coupon"), // -------------------------------------------------
		S2C_IS_POSTEE_OF(2002, "site is postee of message coupon"), // -------------------------------------------------
		S2C_IS_OWNER_OF(2003, "site is owner of coupon coupon"), // -------------------------------------------------
		// --------------------------------------------------------------------------
		S2S_IS_FRIEND_OF(2100, "site is friend of site"), // -------------------------------------------------
		S2S_IS_RECOMMENDER_OF(2101, "site is recommender of site,用于小区推荐的商家"), // -------------------------------------------------
		S2S_IS_PAGE_SECTION_OF(2102, "site is page section of site,用于定义小区的自主区域"), // -------------------------------------------------
		// ---------------------------------------------------------------------
		S2G_IS_MEMBER_OF(2200, "site is member of category"), // -------------------------------------------------
		// coupon relation------------------------------------------------
		C2C_IS_UPSELL_OF(3000, "coupon is upsell of coupon"), // -------------------------------------------------
		C2C_IS_REFER_LINK_OF(3001, "链接的相关推荐链接"), // -------------------------------------------------
		// --------------------------------------------------------------------------
		C2G_IS_MEMBER_OF(3100, "coupon is member of category"), // -------------------------------------------------
		C2G_IS_BRAND_MEMBER_OF(3101, "coupon is a brand member of category"), // -------------------------------------------------
		// Category 2 Category
		// Relation--------------------------------------------------------------------------
		G2G_IS_BRAND_OF(4000, "the left category is brand of the right category"), // -------------------------------------------------

		U2C2S_DELEGATED_SALE_OF(9101, "个人用户的商品指定的托售商店"), // -------------------------------------------------
		S2UC_IS_FLOATEE_OF(9102, "Site 2 User2Content relation,如小区是图书指定漂流的地方"), // -------------------------------------------------
		U2UC_IS_REPLIER_OF(9103, "User 2 User2Content relation,如用户对漂流的图书进行回复"), // -------------------------------------------------
		S2SC_IS_RECOMMENDER_OF(9104, "例如:小区是店铺商品的推荐处"); // -------------------------------------------------
		Integer id;

		String desc;

		RelationID(Integer relationId, String desc) {
			this.id = relationId;
			this.desc = desc;
		}

		public String getDesc() {
			return desc;
		}

		public Integer getId() {
			return id;
		}
	}

	public enum CategoryID {
		// Constants category for site---------------------------------
		AREA_TOP("sa", "top category id of area,refer to category/area_category_all_china.xml"), // -------------------------------------------------
		WEBSITE_TOP("ws01", "top category id of website"), // -------------------------------------------------
		BUSINESS_TOP("biz01", "top category id of business"), // -------------------------------------------------

		// Constants category for product----------------------------
		CONTENT_TOP("cp01", "top category id of content"), // 内容分类top-------------------------------------------------
		BRAND_TOP("bd01", "top category id of brand"), // 品牌top-------------------------------------------------
		;

		String id;

		String desc;

		CategoryID(String categoryId, String desc) {
			this.id = categoryId;
			this.desc = desc;
		}

		public String getDesc() {
			return desc;
		}

		public String getId() {
			return id;
		}
	}

	public enum Status {
		// status for
		// coupon--------------------------------------------------------------------------------
		IS_EDITING(1001, "coupon is in editing status"), // 正在编辑----------------------------------
		IS_APPROVING(1002, "coupon is in approving status"), // 申请审批----------------------------------
		IS_APPROVE_FAIL(1003, "coupon is in approve fail status"), // 审批失败----------------------------------
		IS_APPROVE_SUCC(1004, "coupon is in online status"), // 审批通过----------------------------------

		;

		Integer id;

		String desc;

		Status(Integer statusId, String desc) {
			this.id = statusId;
			this.desc = desc;
		}

		public String getDesc() {
			return desc;
		}

		public Integer getId() {
			return id;
		}
	}

	public enum Type {
		// Type for Site------------------------------------------
		SITE_HORDE(1000, "site type  for horde"), // -------------------------------------------------
		SITE_STORE(1001, "site type  for retail store"), // -------------------------------------------------
		SITE_COMPANY(1002, "site type  for company of supplier/manufacture"), // -------------------------------------------------
		SITE_WEBSITE(1003, "site type  for website"), // -------------------------------------------------
		// Type for
		// Category---------------------------------------------------------
		CATEGORY_BRAND(2001, "品牌类别"), // -------------------------------------------------
		CATEGORY_PRODUCT(2002, "产品类别"), // -------------------------------------------------
		CATEGORY_AREA(2003, "地区类别"), // -------------------------------------------------
		CATEGORY_WEBSITE(2004, "网址分类"), // -------------------------------------------------
		CATEGORY_BUSINESS(2005, "主营业务分类"), // -------------------------------------------------
		// Types for Content
		CONTENT_PRODUCT(3001, "coupon type  for product"), // -------------------------------------------------
		CONTENT_COMPANY_PRODUCT_REQUEST(3002, "零批店要求供应商发布商品资料的请求，***现在没用"), // -------------------------------------------------
		CONTENT_MESSAGE(3003, "一般信息/其他信息"), // -------------------------------------------------
		CONTENT_MESSAGE_ESTATE(3004, "物业管理处发布的信息"), // -------------------------------------------------
		CONTENT_MESSAGE_STORE(3005, "商家发布的促销信息"), // -------------------------------------------------
		CONTENT_MESSAGE_FOR_PEOPLE(3006, "发布的便民信息"), // -------------------------------------------------
		CONTENT_COUPON(3020, "店铺的优惠券"), // -------------------------------------------------

		;

		Integer id;

		String desc;

		Type(Integer statusId, String desc) {
			this.id = statusId;
			this.desc = desc;
		}

		public String getDesc() {
			return desc;
		}

		public Integer getId() {
			return id;
		}
	}
}
